package kr.hkit.powerjava.chapter22.work;

public class Department {
	private int deptName;
	private int floor;
	private int deptNo;
	public int getDeptName() {
		return deptName;
	}
	public void setDeptName(int deptName) {
		this.deptName = deptName;
	}
	public int getFloor() {
		return floor;
	}
	public void setFloor(int floor) {
		this.floor = floor;
	}
	public int getDeptNo() {
		return deptNo;
	}
	public void setDeptNo(int deptNo) {
		this.deptNo = deptNo;
	}
	@Override
	public String toString() {
		return String.format("Department [%s %s %s]",
				deptName, floor, deptNo);
	}
	
	
}
